# 没反应

import socket

target_host = "127.0.0.1"
target_port = 80

# 建立一个socket对象
client = socket.socket(socket.AF_INET , socket.SOCK_DGRAM)

# 发送一些数据
client.sendto("AAABBBCCC".encode(),(target_host,target_port))

# 接收一些数据
data , addr = client.recvfrom(4096)

print( "begin -- ")
print( data )
print(" over -- ")